package com.ssm.entity;

import java.util.Date;

public class Article {
    private int aid;
    private String title;
    private String content;
    private String summary;
    private int cid;
    private int uid;
    private int view_count;
    private int status;
    private Date create_time;
    private Date update_time;
    
    // 关联属性
    private ArticleCategory category;
    private User user;
    
    public int getAid() {
        return aid;
    }
    
    public void setAid(int aid) {
        this.aid = aid;
    }
    
    public String getTitle() {
        return title;
    }
    
    public void setTitle(String title) {
        this.title = title;
    }
    
    public String getContent() {
        return content;
    }
    
    public void setContent(String content) {
        this.content = content;
    }
    
    public String getSummary() {
        return summary;
    }
    
    public void setSummary(String summary) {
        this.summary = summary;
    }
    
    public int getCid() {
        return cid;
    }
    
    public void setCid(int cid) {
        this.cid = cid;
    }
    
    public int getUid() {
        return uid;
    }
    
    public void setUid(int uid) {
        this.uid = uid;
    }
    
    public int getView_count() {
        return view_count;
    }
    
    public void setView_count(int view_count) {
        this.view_count = view_count;
    }
    
    public int getStatus() {
        return status;
    }
    
    public void setStatus(int status) {
        this.status = status;
    }
    
    public Date getCreate_time() {
        return create_time;
    }
    
    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }
    
    public Date getUpdate_time() {
        return update_time;
    }
    
    public void setUpdate_time(Date update_time) {
        this.update_time = update_time;
    }
    
    public ArticleCategory getCategory() {
        return category;
    }
    
    public void setCategory(ArticleCategory category) {
        this.category = category;
    }
    
    public User getUser() {
        return user;
    }
    
    public void setUser(User user) {
        this.user = user;
    }
} 